package adv2;

import java.util.*;

public class MapTest3 {

	public static void main(String[] args) {
		Map<Student, String> map = new HashMap<Student, String>();
		// map.containsValue(value)
		map.put(new Student("朱峰", "340", 20, "男"), "最高");
		map.put(new Student("朱小峰", "340", 23, "女"), "最帅");
		System.out.println(map.size());
		System.out.println(map);
	}
}
